﻿using System;

namespace DalatCooking.Core
{
    public class Poll
    {
        public int PollID { get; set; }
        public string Question { get; set; }
        //  public string BlockMode { get; set; }
        public bool IsActive { get; set; }

        public int PollChoiceID { get; set; }
        public string Choice { get; set; }
        public int VoteCount { get; set; }

        public int PollIPID { get; set; }
        public string IPAddress { get; set; }
        public string Block { get; set; }
        public enum BlockMode
        {
            COOKIE = 1, IP_ADDRESS = 2, NONE = 3
        };
    }
}
